<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/>
<title>Untitled Document</title>
</head>

<body>
<?php

$base = mysql_connect ('localhost', 'root', ''); 
mysql_select_db ('sql111.0fees.net', $base) ;?>
	<table  id="gradient-style" summary="Meeting Results">
    <thead>
    	<tr>
        	<th scope="col">Objet</th>
            <th scope="col">Message</th>
            <th scope="col">Commentaire</th>
			<th scope="col"></th>
        </tr>
    </thead>
    <tbody><?php 

								$requete=" select * from reclammation where etat=2 and idcol=".$_GET['id']." and commentaire is not null";

								$resultat =mysql_query($requete);
								while ($data= mysql_fetch_array($resultat)) { ?>
								<tr><td style:'margin-left:20px;' ><?php echo $data['objet']; ?></td><td><?php echo $data['message'];?></td><td><?php echo $data['commentaire'];?></td><td></td> </tr><?php }?>
								</tbody></table>


</body>
</html>